projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94f96cb
)
gtktexttypes: remove inline_byte_begins_utf8_char()
author
Sébastien Wilmet
<swilmet@gnome.org>
Thu, 28 Mar 2013 20:50:08 +0000
(21:50 +0100)
committer
Sébastien Wilmet
<swilmet@gnome.org>
Mon, 1 Apr 2013 19:12:49 +0000
(21:12 +0200)
The function was used only in gtk_text_byte_begins_utf8_char().
https://bugzilla.gnome.org/show_bug.cgi?id=697048
gtk/gtktexttypes.c
patch
|
blob
|
history
diff --git
a/gtk/gtktexttypes.c
b/gtk/gtktexttypes.c
index 65133653524396e7b5572a9b78fd4342918a5fb0..230ee7c0b7a73471e77ae0cee17d8c7ca2ace508 100644
(file)
--- a/
gtk/gtktexttypes.c
+++ b/
gtk/gtktexttypes.c
@@
-37,14
+37,8
@@
gtk_text_unknown_char_utf8_gtk_tests_only (void)
return _gtk_text_unknown_char_utf8;
}
-static inline gboolean
-inline_byte_begins_utf8_char (const gchar *byte)
-{
- return ((*byte & 0xC0) != 0x80);
-}
-
gboolean
gtk_text_byte_begins_utf8_char (const gchar *byte)
{
- return
inline_byte_begins_utf8_char (byte
);
+ return
((*byte & 0xC0) != 0x80
);
}